package des.yordan.mihaylov;

/**
 * @author Yordan Mihaylov
 * @version 2011/05/15
 */

public abstract class SimEvent extends SortableQueueItem {

	protected static SimState simState = null;

	public SimEvent(long simulationTime) {
		super(simulationTime);
	}

	public abstract void process();

	public static SimState getSimState() {
		return simState;
	}

	public static void setSimState(SimState simState) {
		if (null == SimEvent.simState) {
			SimEvent.simState = simState;
		}
	}

}
